package com.wmz.crm.workbench.mapper;

import com.wmz.crm.workbench.entity.Customer;

import java.util.List;

public interface CustomerMapper {
    int deleteByPrimaryKey(String id);

    int insert(Customer row);

    int insertSelective(Customer row);

    Customer selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Customer row);

    int updateByPrimaryKey(Customer row);

    //插入公司的信息
    int insertCustomer(Customer customer);

    //根据name模糊查询公司name
    List<String> selectCustomerNameByName(String name);

    //根据name查询公司信息
    Customer selectCustomerByName(String name);
}
